Fluent Assertions Documentation
FluentAssertions.Specialized Namespace / ExecutionTime Class / ExecutionTime Constructor / ExecutionTime Constructor(Func<Task>,String,StartTimer)
The action of which the execution time must be asserted.
The description of the action to be asserted.
In This Topic
    ExecutionTime Constructor(Func<Task>,String,StartTimer)
    In This Topic
    Initializes a new instance of the ExecutionTime class.
    Syntax

    Parameters

    action
    The action of which the execution time must be asserted.
    actionDescription
    The description of the action to be asserted.
    createTimer
    Exceptions
    ExceptionDescription
    action is a null reference (Nothing in Visual Basic).
    Remarks
    This constructor is almost exact copy of the one accepting System.Action. The original constructor shall stay in place in order to keep backward-compatibility and to avoid unnecessary wrapping action in Task.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also